Experiment 2

This experiment is organized as follows. 
The memory task program (Exp2_Program.py) needs to be ran while all the stimuli (both word-lists and probes) are in the same folder as the Python program.
The program saves the user's data in an Excel file; therefore, the user needs to set up the name of the Excel file within the Python program prior to running it. 

Once all participants' data are gathered, obtain the pooled frequencies (n1, n2, n3, n4) for each probe and attempt number (see phase2_all_data.xls, which contains all individual participants' data as well). 
These pooled frequencies are used to obtain the model parameter estimates.

In order to obtain the model estimates, first run the R code in Monte_Carlo_Setup.txt. 
Then, enter the values for n1, n2, n3, and n4 in the R code in PPM_R_Program.txt and run it. 
Finally, run the R code in MLE_R_Program.txt. 

Re-run the PPM_R_Program.txt for each set of pooled frequencies that you obtained for each probe (AR1, AR2, etc.).
You can then obtain the average estimate for each parameter (theta_3C, theta_2C, theta_1C, and theta_N) along with their standard deviations.
The estimates we obtained for each probe are included in the file phase2_all_data.xls. 